package com.sugon.springboot.entities;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@AllArgsConstructor
@Data
public class CommonResult<T>{
    private int code;
    private String msg;
    private T data;
    public CommonResult(int code,String msg){
        this(code,msg,null);
    }
}
